package com.encyclopedia.service;

import com.encyclopedia.config.PageResult;
import com.encyclopedia.domain.vo.PlanVo;
import com.encyclopedia.domain.vo.PlantInfoVo;

import com.encyclopedia.result.JsonRequest;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author MaLiang
 * @version 1.0
 * @date 2024-04-28 19:40
 */
public interface AdminPlantService {
    PageResult PlantList(Integer pageNum, Integer pageSize, String commonName, String scientificName);

    PlantInfoVo getPlantById(Integer id);

    JsonRequest plantListUpdate(PlantInfoVo plantInfoVo);

    int insertPlantInfo(PlantInfoVo plantInfoVo);

    int deletePlantById(Integer id);
}
